package com.fairytask.engine.define
{
	/**
	 * 战斗相关定义 
	 * @author Navy
	 */	
	public class BattleDefine
	{
		public static const HITTYPE_ONCE_PHY	:int	=	0;		//一次物理打击，可以影响多人
		public static const HITTYPE_TIMES_PHY	:int	=	1;		//多次物理打击，每次只能打击影响一个目标
		public static const HITTYPE_ONCE_MAG	:int	=	2;		//一次魔法攻击，可以影响多人
		public static const HITTYPE_TIMES_MAG	:int	=	3;		//多次魔法攻击，每次只能打击影响一个目标
		//受伤类型
		public static const DAMAGETYPE_COMMON	:int	=	0;		//普通伤害
		public static const DAMAGETYPE_MISS	:int	=	1;		//丢失 miss
		public static const DAMAGETYPE_VA		:int	=	2;		//暴击
		public static const DAMAGETYPE_RESTORE:int	=	3;		//恢复(血)
		//技能物品使用对象
		//非自己的队友
		public static const ATTACK_TARGET_TEAM_SINGLE			:int	=	87;
		//自己单体
		public static const ATTACK_TARGET_SELF_SINGLE			:int	=	88;
		//队友单体
		public static const ATTACK_TARGET_SELFTEAM_SINGLE		:int	=	89;
		//敌方目标单体
		public static const ATTACK_TARGET_ENEMY_SINGLE			:int	=	90;
		//已方全部地面
		public static const ATTACK_TARGET_SELFGROUND_ALL		:int	=	91;
		//敌方全部地面
		public static const ATTACK_TARGET_ENEMYGROUND_ALL		:int	=	92;
		//已方全部人
		public static const ATTACK_TARGET_SELF_ALL				:int	=	93;
		//敌方全部人
		public static const ATTACK_TARGET_ENEMY_ALL				:int	=	94;
		//双方所有地面
		public static const ATTACK_TARGET_BOTHGROUND_ALL		:int	=	95;
		//双方所有人
		public static const ATTACK_TARGET_BOTH_ALL				:int	=	96;
		
		//战斗类型
		public static const CONFIGURED		:int	=	1; //配置的战斗 不显示面板
		public static const NORMALED		:int	=	0; //正常战斗
	}
}